#!/bin/bash

echo "find -name ${1}"
files=`find -name ${1}`
filenum=`find -name ${1} | grep '^' | wc -l`

if [ $filenum -eq 1 ];then
    vim ${files}
else
    echo "There are mor than one  ${1}"
    find -name ${1}
fi
